package com.woniuxy.pojo;

import java.io.Serializable;
import java.util.Date;

import com.alibaba.fastjson.annotation.JSONField;

public class Charges implements Serializable {
    private Integer cgId;

    private String cgCarlicense;

    private String cgName;

    @JSONField(format = "yyyy-MM-dd")
    private Date cgTime;

    private Double cgAmount;

    private String cgUnit;

    private String cgDriver;

    private String cgRemark;

    private static final long serialVersionUID = 1L;

    public Integer getCgId() {
        return cgId;
    }

    public void setCgId(Integer cgId) {
        this.cgId = cgId;
    }

    public String getCgCarlicense() {
        return cgCarlicense;
    }

    public void setCgCarlicense(String cgCarlicense) {
        this.cgCarlicense = cgCarlicense == null ? null : cgCarlicense.trim();
    }

    public String getCgName() {
        return cgName;
    }

    public void setCgName(String cgName) {
        this.cgName = cgName == null ? null : cgName.trim();
    }

    public Date getCgTime() {
        return cgTime;
    }

    public void setCgTime(Date cgTime) {
        this.cgTime = cgTime;
    }

    public Double getCgAmount() {
        return cgAmount;
    }

    public void setCgAmount(Double cgAmount) {
        this.cgAmount = cgAmount;
    }

    public String getCgUnit() {
        return cgUnit;
    }

    public void setCgUnit(String cgUnit) {
        this.cgUnit = cgUnit == null ? null : cgUnit.trim();
    }

    public String getCgDriver() {
        return cgDriver;
    }

    public void setCgDriver(String cgDriver) {
        this.cgDriver = cgDriver == null ? null : cgDriver.trim();
    }

    public String getCgRemark() {
        return cgRemark;
    }

    public void setCgRemark(String cgRemark) {
        this.cgRemark = cgRemark == null ? null : cgRemark.trim();
    }
}